<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>9-合并对象</title>
		<script type="text/javascript" src="js/jquery2.1.4.min.js"></script>
	</head>
	<body>
		<script type="text/javascript">
			//$.extend();
			var oldObj = {
				username:'zhangduanyang',
				age:10,
				node:20
			};
			var newObj = {
				username:"lbaoli",
				password:'123456'
			}
			console.log($.extend(oldObj,newObj));
		</script>
	</body>
</html>
